/* BUTTONS v.1.0.14 */

.close:hover {
    text-decoration: none !important;
}

.btn:focus {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.btn-default i {
    margin-right: 5px;
}

.btn-red,
.btn-blue,
.btn-orange,
.btn-green {
    color: #FFF !important;
}

.btn-red {
    background-color: #CC5C5C !important;
    border-color: #AF3737 !important;
    z-index: 3 !important;
}

.btn-red:hover {
    background-color: #AF3737 !important;
}

.btn-blue {
    background-color: #5C82CC !important;
    border-color: #375FAF !important;
}

.btn-blue:hover {
    background-color: #375FAF !important;
}

.btn-orange {
    background-color: #E6BA64 !important;
    border-color: #DC9D23 !important;
}

.btn-orange:hover {
    background-color: #DC9D23 !important;
}

.btn-green {
    background-color: #77B576 !important;
    border-color: #529550 !important;
}

.btn-green:hover {
    background-color: #529550 !important;
}

a.btn-red:hover,
a.btn-blue:hover,
a.btn-orange:hover,
a.btn-green:hover {
    text-decoration: none;
}

.btn.active,
.btn-group.open .dropdown-toggle {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.panel-toolbar .btn-group.open .dropdown-toggle {
    border: 1px solid #EDEDED;
}

.btn-default,
.btn-default:focus,
.open>.dropdown-toggle.btn-default,
.selected,
.selected:active,
.input-group-addon,
.pagination > .active > a:focus {
    background-color: #999;
    color: #FFF;
    border: 1px solid #6B6B6B;
    z-index: 2;
}

.btn-default:hover,
.btn-default:active,
.btn-active,
.selected:hover,
.selected-size,
.selected-size:active,
.input-group-addon:hover,
.input-btn-invert .btn-invert:hover,
.btn-invert:hover {
    background-color: #6B6B6B;
    color: #FFF;
    transition: all 0.8s ease;
    text-decoration: none !important;
    border-color: #6B6B6B;
}

.btn-outline:hover,
.btn-outline:active,
.btn-outline:focus,
.btn-toggled {
    background-color: #6B6B6B !important;
    color: #FFF !important;
    transition: all 0.8s ease;
    text-decoration: none !important;
}

.btn-outline {
    background-color: #FFF !important;
    color: #6B6B6B;
    border: 1px solid #6B6B6B !important;
}

.btn-square {
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    margin: 0 2px !important;
    padding: 0;
    position: relative;
}

.btn-circle {
    display: inline-block;
    border-width: 2px !important;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    cursor: pointer;
    text-align: center;
    position: relative;
    padding: 0;
}

.btn-circle,
.btn-circle:focus {
    border: 0; 
}

.btn-square i,
.btn-circle i {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.btn-large {
    width: 50px !important;
    height: 50px !important;
    font-size: 20px;
}

.btn-medium {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px;
}

.btn-small {
    width: 30px !important;
    height: 30px !important;
}

.btn-float-top-left,
.btn-float-top-right,
.btn-float-bottom-left,
.btn-float-bottom-right {
    position: absolute !important;
}

.btn-float-top-left {
    top: 0;
    left: 0;
}

.btn-float-top-right {
    top: 0;
    right: 0;
}

.btn-float-bottom-left {
    bottom: 0;
    left: 0;
}

.btn-float-bottom-right {
    bottom: 0;
    right: 0;
}

.table-toolbar .btn,
.form-buttons .btn {
    margin-right: 5px;
    margin-bottom: 10px;
}

.table-toolbar .btn-group button:first-child {
    z-index: 3;
}

.table-toolbar .btn-group button:first-child[disabled="disabled"] {
    z-index: 0 !important;
}

.table-toolbar .btn-group .btn {
    margin-right: 0;
}

.form-buttons .btn-default,
.btn-cancel {
    margin-right: 5px !important;
}

.form-buttons .btn-cancel:hover {
    text-decoration: none !important;
}

.btn-all {
    height: 22px;
}

.btn-disabled img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.btn-default[disabled="disabled"],
.btn-default[disabled],
.btn-disabled {
    background-color: #EDEDED !important;
    color: #999 !important;
    border-color: #CCC !important;
    opacity: 0.8 !important;
}

.btn-default[disabled="disabled"]:focus,
.btn-default[disabled]:focus,
.btn-disabled:focus {
    border-color: #CCC !important;
}

.btn-default:focus {
    outline: none !important;
}


/* TABLE DROPDOWN; ACTION & REORDER */

.btn-dropdown,
.btn-single-action {
    position: relative;
    padding: 4px 4px 4px 10px;
    display: inline-block;
    color: #333;
    border-color: #CCC;
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url();
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 1%, rgba(247, 247, 247, 0) 51%, rgba(239, 239, 239, 1) 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, rgba(255, 255, 255, 0)), color-stop(51%, rgba(247, 247, 247, 0)), color-stop(100%, rgba(239, 239, 239, 1)));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 1%, rgba(247, 247, 247, 0) 51%, rgba(239, 239, 239, 1) 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 1%, rgba(247, 247, 247, 0) 51%, rgba(239, 239, 239, 1) 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 1%, rgba(247, 247, 247, 0) 51%, rgba(239, 239, 239, 1) 100%);
    /* IE10+ */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 1%, rgba(247, 247, 247, 0) 51%, rgba(239, 239, 239, 1) 100%);
    /* W3C */
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#efefef', GradientType=0);
    /* IE6-8 */
}

.btn-dropdown:hover,
.btn-dropdown:focus,
.btn-dropdown:active,
.btn-single-action:hover {
    background-color: #6B6B6B;
    background: none;
    outline: 0;
    transition: all 0.3s ease;
}

.btn-single-action,
.btn-single-action:hover {
    padding: 4px 10px;
    text-decoration: none !important;
}

.btn-single-action span {
    vertical-align: middle;
    display: inline-block;
}

.caret-down:after {
    font-family: 'FontAwesome';
    content: "\f078";
    font-size: 8px;
    padding: 5px;
}

.btn-dropdown:hover {
    background: #6B6B6B;
    color: #FFF;
    border-color: #6B6B6B;
}

.btn-dropdown > li > a:hover {
    background-color: #6B6B6B;
    border-color: #6B6B6B;
}

.action-dropdown i {
    margin: 5px 5px 0 0;
    width: 15px;
}

.action-dropdown .kd-download {
    font-size: 10px;
    margin-left: -1px;
}

.action-dropdown > li > a {
    color: #555;
}

.action-dropdown > li > a:hover {
    color: #FFF;
    background-color: #6B6B6B;
    transition: all 0.3s ease;
    border-color: #6B6B6B;
    -webkit-text-shadow: none;
    -moz-text-shadow: none;
    text-shadow: none;
}

.action-dropdown {
    left: -85px;
    top: 85%;
    width: 160px;
}

.dropdown-menu > li > a {
    white-space: pre-wrap;
}

.action-dropdown .dropdown-arrow {
    color: #FFF;
    text-shadow: 0 -2px 0 rgba(0, 0, 0, 0.2);
    top: -20px !important;
    right: 6px !important;
}

table .action-dropdown .dropdown-arrow {
    right: 8px;
}

.btn-group .action-dropdown {
    left: -59px !important;
    top: 60% !important;
    width: auto;
}

.reorder-icon {
    -ms-transform: rotate(45deg);
    /* IE 9 */
    -webkit-transform: rotate(45deg);
    /* Chrome, Safari, Opera */
    transform: rotate(45deg);
    display: inline-block;
    margin: 0 15px;
}

.reorder-icon a {
    color: #333;
}

.reorder-icon a:hover {
    color: #000;
}

@media only screen and (max-width: 1024px) {
    .btn-default .btn {
        margin-left: 0;
        margin-right: 5px;
    }
    .btn-group-responsive button span {
        font-size: 0;
    }
    .btn-group-responsive button i {
        margin-right: 0 !important;
        margin-left: 4px !important;
    }
    .btn-group-responsive .action-dropdown .dropdown-arrow {
        right: 43px !important;
    }
    .rtl .btn-group-responsive button i {
        margin-left: 0 !important;
        margin-right: 4px !important;
    }
}


/* RTL BUTTONS v.1.0.0 */

.rtl .btn-default i {
    margin-left: 5px;
    margin-right: 0 !important;
}

.rtl .input-group-addon.btn-default i {
    margin-left: 0 !important;
}

.rtl .fileinput .btn-file {
    left: 0px;
    right: auto;
    width: 53px !important;
    border-left: 1px solid #6B6B6B;
}

.rtl .table-toolbar .btn,
.rtl .form-buttons .btn {
    margin-right: 0;
    margin-left: 5px;
    margin-bottom: 10px;
}

.rtl .table-toolbar .btn-group .btn,
.rtl .btn-group button {
    margin-left: -1px !important;
}

.rtl .form-buttons {
    margin-left: 0;
    text-align: right;
}

.rtl .form-buttons .btn-default,
.rtl .btn-cancel {
    margin-left: 5px !important;
    margin-right: 0 !important;
}

.rtl .kd-back {
    filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=2);
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.rtl .btn-float-top-left {
    top: 0;
    left: auto !important;
    right: 0;
}

.rtl .btn-float-top-right {
    top: 0;
    right: auto !important;
    left: 0;
}

.rtl .btn-float-bottom-left {
    bottom: 0;
    left: auto !important;
    right: 0;
}

.rtl .btn-float-bottom-right {
    bottom: 0;
    right: auto !important;
    left: 0;
}


/* Button Groups */

.rtl .btn-group-vertical>.btn,
.rtl .btn-group>.btn,
.rtl .btn-group>.btn-group {
    float: right;
}

.rtl .btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle) {
    -webkit-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    border-bottom-right-radius: 4px;
    -webkit-border-top-left-radius: 0;
    border-top-left-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    border-bottom-left-radius: 0;
}

.rtl .btn-group>.btn:last-child:not(:first-child),
.rtl .btn-group>.dropdown-toggle:not(:first-child) {
    -webkit-border-top-right-radius: 0;
    border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    border-bottom-right-radius: 0;
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.rtl .input-btn-invert .btn-invert {
    right: auto !important;
    left: 0;
    -webkit-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -webkit-border-top-right-radius: 0;
    border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    border-bottom-right-radius: 0;
}

.rtl .input-group-invert .form-control:first-child {
    -webkit-border-top-left-radius: 5px !important;
    border-top-left-radius: 5px !important;
    -webkit-border-bottom-left-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
    padding: 0 10px 0 50px !important;
}

.rtl .table-edit-view .table-header {
    border-left: 1px solid #DDD;
    border-right: 0;
}
